package com.basker.pisces.domain.property.meta;

import com.basker.pisces.domain.constant.DomainConstants.DataStatus;

/**
 * 默认的状态属性，内置"初始化"、"启用"、"禁用"、"删除"等基本状态
 *
 * @author hangwen
 */
public class DefaultStatusProperty extends StatusProperty {

    @Override
    public void initial() {
        this.addOption(DataStatus.INITIAL, "${pisces-domain.DefaultStatusProperty.initial}");
        this.addOption(DataStatus.ENABLE, "${pisces-domain.DefaultStatusProperty.enable}");
        this.addOption(DataStatus.DISABLE, "${pisces-domain.DefaultStatusProperty.disable}");
        this.addOption(DataStatus.DELETE, "${pisces-domain.DefaultStatusProperty.delete}");
    }

}
